scrolledwindow: Remove redundant use of MAX
authorDebarshi Ray <debarshir@gnome.org>
Mon, 16 May 2016 19:50:05 +0000 (21:50 +0200)
committerDebarshi Ray <debarshir@gnome.org>
Tue, 17 May 2016 15:04:26 +0000 (17:04 +0200)
commitc81cd94b8f450e4e762bc197b4695f90ec08abf7
tree049499304885b257e556eb8cb4112c1d3b42605d
parent2b628e9e38bedbd4128a4845c103b67dcd336e71
scrolledwindow: Remove redundant use of MAX

This code tries to add the minimum content size, if one is set, to the
GtkScrolledWindow's size requisition. This is obvious from the check
for non-negative values of min-content-height and min-content-width.
Using MAX needlessly makes the code harder to read by implying that
there is more to it when there actually isn't.

Fall out from 0d9ebb501df60cf1803858efcd1c79542588abd8

https://bugzilla.gnome.org/show_bug.cgi?id=766569
gtk/gtkscrolledwindow.c